home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
DAN0411.ZIP
/
MAKEFILE
< prev
Wrap
Text File
|
1997-05-04
|
2KB
|
68 lines
#-----------------------------------------------------------------------------
#
# makefile
#
#-----------------------------------------------------------------------------
# Set assembler options
#-----------------------------------------------------------------------------
MASMOPT = /c /Fo $(@R).obj
MASMLST = /DRRC /Fl$(@R).lst
LINKOPT = /M /NON
#-----------------------------------------------------------------------------
# Include directories
#-----------------------------------------------------------------------------
SRC_DIR = .
INCLUDE_DIR = .
LIB_DIR = .
#-----------------------------------------------------------------------------
# Link object files
#-----------------------------------------------------------------------------
LNK_OBJ = @lnk
#-----------------------------------------------------------------------------
# Dependancies & inference rules
#-----------------------------------------------------------------------------
.SUFFIXES :
.SUFFIXES : .exe .obj .asm
.asm.obj:
ml $(MASMOPT) $(MASMLST) $(@R).asm
ml $(MASMOPT) $(@R).asm
#-----------------------------------------------------------------------------
# List of files to make
#-----------------------------------------------------------------------------
all: fistbug.exe fistbugv.exe
$(SRC_DIR)\fistbug.exe: $(SRC_DIR)\fistbug.obj
link $(LINKOPT) fistbug;
$(SRC_DIR)\fistbugv.exe: $(SRC_DIR)\fistbugv.obj
link $(LINKOPT) fistbugv;
$(SRC_DIR)\fistbug.obj: $(LIB_DIR)\fistbug.asm
ml $(MASMOPT) $(MASMLST) fistbug.asm
ml $(MASMOPT) fistbug.asm
$(SRC_DIR)\fistbugv.obj: $(LIB_DIR)\fistbug.asm
ml $(MASMOPT) /DVERBOSE $(MASMLST) fistbug.asm
ml $(MASMOPT) /DVERBOSE fistbug.asm
ren fistbug.obj fistbugv.obj
#.obj.exe:
# link $(LINKOPT) $(LNK_OBJ);
clean:
if exist *.obj del *.obj
if exist *.map del *.map
if exist *.exe del *.exe
if exist *.lst del *.lst